package com.piedra.annotation;

import java.lang.reflect.InvocationHandler;
import java.lang.reflect.Method;

public class MyHandler implements InvocationHandler {
	private Object target = null;
	
	public MyHandler(Object org){
		target = org;
	}
	
	@Override
	public Object invoke(Object proxy, Method method, Object[] args)
			throws Throwable {

		method.invoke(target, args);
		
		return null;
	}

}
